package com.yh.Bean;

import java.util.Date;

public class Users {
private int u_id;
private String u_name;
private String t_name;
private String password;
private String sex;
private Date birthday;
private String idcard;
private String email;
private String phone;
private String address;
private Date registtime;
private int flag;
public Users(int u_id, String u_name, String t_name, String password,
		String sex, Date birthday, String idcard, String email, String phone,
		String address, Date registtime, int flag) {
	super();
	this.u_id = u_id;
	this.u_name = u_name;
	this.t_name = t_name;
	this.password = password;
	this.sex = sex;
	this.birthday = birthday;
	this.idcard = idcard;
	this.email = email;
	this.phone = phone;
	this.address = address;
	this.registtime = registtime;
	this.flag = flag;
}
public Users() {
	super();
	// TODO Auto-generated constructor stub
}
public int getU_id() {
	return u_id;
}
public void setU_id(int u_id) {
	this.u_id = u_id;
}
public String getU_name() {
	return u_name;
}
public void setU_name(String u_name) {
	this.u_name = u_name;
}
public String getT_name() {
	return t_name;
}
public void setT_name(String t_name) {
	this.t_name = t_name;
}
public String getPassword() {
	return password;
}
public void setPassword(String password) {
	this.password = password;
}
public String getSex() {
	return sex;
}
public void setSex(String sex) {
	this.sex = sex;
}
public Date getBirthday() {
	return birthday;
}
public void setBirthday(Date birthday) {
	this.birthday = birthday;
}
public String getIdcard() {
	return idcard;
}
public void setIdcard(String idcard) {
	this.idcard = idcard;
}
public String getEmail() {
	return email;
}
public void setEmail(String email) {
	this.email = email;
}
public String getPhone() {
	return phone;
}
public void setPhone(String phone) {
	this.phone = phone;
}
public String getAddress() {
	return address;
}
public void setAddress(String address) {
	this.address = address;
}
public Date getRegisttime() {
	return registtime;
}
public void setRegisttime(Date registtime) {
	this.registtime = registtime;
}
public int getFlag() {
	return flag;
}
public void setFlag(int flag) {
	this.flag = flag;
}
@Override
public String toString() {
	return "Users [u_id=" + u_id + ", u_name=" + u_name + ", t_name=" + t_name
			+ ", password=" + password + ", sex=" + sex + ", birthday="
			+ birthday + ", idcard=" + idcard + ", email=" + email + ", phone="
			+ phone + ", address=" + address + ", registtime=" + registtime
			+ ", flag=" + flag + "]";
}

}
